package com.treasure.mall.zbq.common.ienum.chat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.treasure.mall.zbq.common.ienum.base.CodeDescCommonEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 *
 * <p>
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.zbq.common.ienum.chat
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/8/13 10:42 上午
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * 
 */
public interface ChatEnums {

    /**
     * 回话类型
     */
    @Getter
    @AllArgsConstructor
    @JsonFormat(shape = JsonFormat.Shape.OBJECT)
    enum ChatType implements CodeDescCommonEnum {
        contact(0, "客服聊天"),
        friends(1, "好友聊天"),
        logistics(2, "交易物流"),
        system(3, "系统消息"),
        official(4, "官方公告"),
        earnings(5, "收益通知"),
        ;
        private Integer code;
        private String desc;

    }

}
